package com.fatiny.core.db;

import com.fatiny.core.db.po.Properties;

/**
 * 读取excel主题内容, 生成Javabean
 * 
 * @auth Jeremy
 * @date 2019年9月16日上午10:55:41
 */
public class ExcelProperties extends Properties {

	private String primary; // 是否主键
	private String save; // 是否存储0存储,1不存储

	public String getPrimary() {
		return primary;
	}

	public void setPrimary(String primary) {
		this.primary = primary;
	}

	public String getSave() {
		return save;
	}

	public void setSave(String save) {
		this.save = save;
	}

	public ExcelProperties() {
		this.primary = "";
		this.save = "";
	}

	public ExcelProperties(String field, String type, String desc, String save, String primary) {
		super(field, type, desc);
		this.primary = primary;
	}
	
	@Override
	public String toString() {
		return "ExcelProperties [primary=" + primary  + ", getSave()=" + getSave() + "]";
	}

}
